package com.dwjm.shop.HSh.goods;

import java.io.Serializable;
import java.math.BigDecimal;

//商品表类
public class Goods implements Serializable {

    private  Integer id;
    private String title;
    private BigDecimal price;
    private String descr;
    private String img;
    private Integer state;
    private Integer mid;

    public Goods() {
    }

    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", price=" + price +
                ", descr='" + descr + '\'' +
                ", img='" + img + '\'' +
                ", state='" + state + '\'' +
                ", mid=" + mid +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getDescr() {
        return descr;
    }

    public void setDescr(String descr) {
        this.descr = descr;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public Goods(Integer id, String title, BigDecimal price, String descr, String img, Integer state, Integer mid) {
        this.id = id;
        this.title = title;
        this.price = price;
        this.descr = descr;
        this.img = img;
        this.state = state;
        this.mid = mid;
    }
}
